package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import com.rockcent.common.domain.IDEntityMall;
import com.rockcent.mall.lib.domain.enumclass.MallMemberFundTransactionType;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * 会员账号资金记录
 * Created by zhangjh on 2017/03/07.
 */
public class MallMemberFundFlowDto extends DtoEntity {
    /**
     * 流水号
     */
    private String seqNo;

    /**
     * 平台ID
     */
    private Long mallId;

    private String mallName;

    /**
     * 会员账号ID
     */
    private Long mallMemberId;


    /**
     * 交易类型
     */
    private String transactionType;
    /**
     * 提交开始时间
     */
    private String beginDate;

    /**
     * 提交结束时间
     */
    private String endDate;


    /**
     * 金额
     */
    private BigDecimal operationAmount;

    private BigDecimal balance;

    /**
     * 备注
     */
    private String remark;

    private String effectiveDate;

    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public Long getMallMemberId() {
        return mallMemberId;
    }

    public void setMallMemberId(Long mallMemberId) {
        this.mallMemberId = mallMemberId;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public BigDecimal getOperationAmount() {
        return operationAmount;
    }

    public void setOperationAmount(BigDecimal operationAmount) {
        this.operationAmount = operationAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getMallName() {
        return mallName;
    }

    public void setMallName(String mallName) {
        this.mallName = mallName;
    }

    public String getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(String effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    @Override
    public String toString() {
        return "MallMemberFundFlowDto{" +
                "seqNo='" + seqNo + '\'' +
                ", mallId=" + mallId +
                ", mallName='" + mallName + '\'' +
                ", mallMemberId=" + mallMemberId +
                ", transactionType='" + transactionType + '\'' +
                ", beginDate='" + beginDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", operationAmount=" + operationAmount +
                ", balance=" + balance +
                ", remark='" + remark + '\'' +
                ", effectiveDate='" + effectiveDate + '\'' +
                '}';
    }
}
